package com.woniuxy.yoga.course.model.form.alone;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 新增私教预约的参数对象
 */
@ApiModel("新增私教预约的参数对象")
@Data
public class AddAloneReservationForm {

    /**
     * 私教产品ID
     */
    @NotNull(message = "私教产品ID不能为空")
    @ApiModelProperty("私教产品ID")
    private Integer privateProductId;

    /**
     * 课程次数
     */
    @Min(value = 1,message = "课程次数不能为零")
    @ApiModelProperty("课程次数")
    private Integer courseCount;
}
